home *** CD-ROM | disk | FTP | other *** search
/ Champak 50 / Volume 50 - JOGO DISK .iso / Games / marchzuma.swf / scripts / DefineSprite_991 / frame_87 / DoAction.as
Text File  |  2007-10-01  |  477b  |  36 lines

  1. _root.stg = _root.stg + 1;
  2. if(_root.stg == 3)
  3. {
  4.    _root.mxf = 5;
  5. }
  6. if(_root.stg == 4)
  7. {
  8.    _root.mxc = 4;
  9. }
  10. if(_root.stg == 5)
  11. {
  12.    _root.mxc = 5;
  13. }
  14. _root.bg = _root.bg + 1;
  15. if(_root.bg > 5)
  16. {
  17.    _root.bg = 1;
  18. }
  19. _root.bg2 += 1;
  20. if(_root.bg2 > 10)
  21. {
  22.    _root.bg2 = 1;
  23. }
  24. if(_root.stg > 5)
  25. {
  26.    _root.stlv = _root.stlv + 1;
  27.    if(_root.stlv > 50)
  28.    {
  29.       _root.stlv = 50;
  30.    }
  31.    _root.tlv += 0.01;
  32.    _root.cn += 5;
  33. }
  34. _root.play();
  35. stop();
  36.